Posted by dxprog on 09:36:00 01-17-2003
I would like to get these things running in Linux, but am totally cluesless as how I am to go about it. Supposedly RedHat installed all three but I cannot see and traces of any. Any help that can be given would be greatly appreciated.
[addsig]
Posted by KaGez on 00:11:00 01-18-2003
ok, then check if you can execute
# apachectl
If this works, you have apache! Congrats! If
# safe_mysqld
works, you have MySQL too. Another great victory!
So, to test php... you gotta configure apache. This is really easy. In the apache.conf, just put these lines:
Code:
LoadModule php4_module path/to/php/so/libphp4.so
AddModule mod_php4.c
AddIcon /icons/p.gif .pl .py .php .php3
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
After adding this to your apache.conf, restart apache (note, not RESTART!!! STOP it once and START it again. If you simply restart it, it won't work!!). Then try to access some random PHP file. It should work
[addsig]
Posted by dxprog on 01:02:00 01-18-2003
Okay, thanks! I hope it works because I really don't feel like compiling the things myself. :-P
[addsig]
Posted by dxprog on 07:09:00 01-18-2003
Okay. Apache and PHP work, safe_mysqld works but immediatly shutsdown. mysqld doesn't want to start up either (gives me a song-and-dance about some security issue). Also PHP keeps giving me errors about the include path with partyfish. I have no idea what to set that to (in windows I leave the include_path in php.ini blank and it works, but apparently doesn't work in Linux). The files are in the folder /webpages/partyfish just so you know. Thanks far any help.
[addsig]
Posted by KaGez on 02:21:00 01-19-2003
ok, no idea about that mysql thing, sorry Maybe the mysql page is more informative. so, RTFM
About that php thing:
Over here my include_dir is not set at all. it's simply commented out in my php.ini, and I never had problems with that Maybe you should also just try to comment it out (by adding a ";" at the beginning of the line)
[addsig]
Posted by dxprog on 04:57:00 01-19-2003
By default it is commented out, but when it's not set it sets it to /etc/something/pear. Maybe I can change that. Thanks for helping me get apache going though I'll figure out MySQL.
[addsig]
Posted by KaGez on 22:32:00 01-19-2003
well, if I really have been a help, np
[addsig]
Posted by dxprog on 05:33:00 02-22-2003
I figured out my PHP problem. I forgot Linux was case sensitive about files and folders. My API folder was in lower case and it was looking for it in upper.
[addsig]