I'm trying to install php4 on Mandrake 8.0 with apache 1.3.27 (and MySQL 3.23.51).
Apache works okay, although with 127.0.0.1 or localhost I get a welcome page for Apache Advanced ExtraNet or something - not what I have with Win 2K, but presumably correct.
The configure, make and make install bits of the php installation go okay. I edit the httpd.conf file with the appropriate AddType, the LoadModule php4_module bit is present, and AddModule mod_php4.c doesn't need to be added because I don't have a ClearModuleList line (so it says in the installation instructions). I have checked and rechecked my AddType line, and it is correct. I have put php.ini in /usr/local/lib/.
I have made a test php file and put it in the htdocs directory, as I did with Windows. Is that the correct place? The installation instructions just say 'in your web tree somewhere', which is really helpful. I have restarted apache, pointed to localhost, which is okay, and then tried to open my test file - and the file can't be found.
So what's going on? Any more of this and I'll give up on the idea of working with Linux, and stick to Windows...!
Apache works okay, although with 127.0.0.1 or localhost I get a welcome page for Apache Advanced ExtraNet or something - not what I have with Win 2K, but presumably correct.
The configure, make and make install bits of the php installation go okay. I edit the httpd.conf file with the appropriate AddType, the LoadModule php4_module bit is present, and AddModule mod_php4.c doesn't need to be added because I don't have a ClearModuleList line (so it says in the installation instructions). I have checked and rechecked my AddType line, and it is correct. I have put php.ini in /usr/local/lib/.
I have made a test php file and put it in the htdocs directory, as I did with Windows. Is that the correct place? The installation instructions just say 'in your web tree somewhere', which is really helpful. I have restarted apache, pointed to localhost, which is okay, and then tried to open my test file - and the file can't be found.
So what's going on? Any more of this and I'll give up on the idea of working with Linux, and stick to Windows...!