PHP4 doesn't like PHP3 ?????

PHP4 doesn't like PHP3 ?????

Post by georgarmbrus.. » Mon, 29 Jan 2001 04:27:35



Hi !

Sorry, me again. But this time I will hold it short:

I'm running Apache with PHP4 module on a Suse Linux (7.0).
Everything works fine if I work with .php files, but
I can't open .php3 files.

Well, this doesn't surprise me this much because I only
have PHP4 installed, but hey, it can't be that I have to
rename (and much worse: change the content in every link
in every file) from php3 to php ?????
[take phpmyadmin for example; every sole file has the
extension .php3!!!!!!]

So: Can anyone tell me where I can change the setting,
so that php3 is automatically seen as .php ?

Thanks, and enjoy your weekend.

George

Sent via Deja.com
http://www.deja.com/

 
 
 

PHP4 doesn't like PHP3 ?????

Post by Ian Jone » Mon, 29 Jan 2001 05:30:11


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Quote:> Hi !

> Sorry, me again. But this time I will hold it short:

> I'm running Apache with PHP4 module on a Suse Linux (7.0).
> Everything works fine if I work with .php files, but
> I can't open .php3 files.

> Well, this doesn't surprise me this much because I only
> have PHP4 installed, but hey, it can't be that I have to
> rename (and much worse: change the content in every link
> in every file) from php3 to php ?????
> [take phpmyadmin for example; every sole file has the
> extension .php3!!!!!!]

> So: Can anyone tell me where I can change the setting,
> so that php3 is automatically seen as .php ?

In your httpd.conf file:

AddType application/x-httpd-php .php3

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
Comment: Making the world safe for geeks.

iQA/AwUBOnMucMAVSpfzXItKEQJcNQCgut6R56AN3XJmHZahMGaqOey7Uk4AoN+9
h9sVMqCKCotuy0vN4f5FT8/g
=0r+d
-----END PGP SIGNATURE-----

 
 
 

PHP4 doesn't like PHP3 ?????

Post by georgarmbrus.. » Mon, 29 Jan 2001 21:19:42


I will try that.

Thanks !

George

Sent via Deja.com
http://www.deja.com/

 
 
 

1. Installed PHP3 and PHP4, but can't restart httpd

Hello,
    I configured and compiled apache with this configuration line...

./configure --prefix=/usr/local/apache/ --enable-shared=max

   I then compiled PHP3 and PHP4 with this configure line without any
problems...

./configure --with-mysql=../mysql --with-imap=../imap-4.7
--with-ldap=/usr/local --with-apxs=/usr/local/apache/bin/apxs
--enable-versioning --enable-track-vars                              

After getting both PHP3 and PHP4 compiled I didn't reconfigure apache
since I read during
the installation of PHP3 and PHP4 that both modules were being
activated.

But when I tried restarting the httpd daemon, I got this error...


Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp3.so into server:
/usr/local/apache/libexec/libphp3.so: undefined
symbol: uncompress
./apachectl start: httpd could not be started

Would anybody know how to fix this? Thanks for any help!

Sincerely,

Tom Cruickshank

2. In desperate need of a Linux Guru

3. PHP4 as CGI: Pages don't view properly

4. dccget coredumps almost always!

5. PHP4 on Debian woody (won't run) (newbie)

6. Network "errors"

7. At wit's end: Apache+PHP4: DSO Garbled message

8. Compaq LTE 5000 and X -bpp 16

9. Problems with Apache 2.0.39 and PHP4

10. Bull's PHP 4.0.6 upgrade but still uses PHP 4.0.4,why

11. Can't install PHP4 by DSO

12. Can't Find Solution..... (PHP3)

13. PHP3: Can't Find Linux Libraries?