[Phpvideopro-developers] Problems and solutions using RedHat 8 and PHP
Brought to you by:
izzy
From: Elkin F. <el...@el...> - 2003-06-20 17:11:29
|
Hello, I am new to PHP/Linux/MySQL but here are the solutions to some not so straight forward RedHat 8 (maybe even 9) problems: 1. how do I create a database? on the shell type: mysqladmin create videopro then: mysql then: grant all on videopro.* to video@localhost identified by "password"; make sure you typed the ; at the end then type: quit then type: mysqladmin reload 2. the PHP files do not get read? Well it seems like RedHats PHP.ini file has some stuff different than a standard install. Edit as root /etc/php.ini and change register_globals to OFF and also short_open_tag to ON restart apache with /etc/init.d/httpd restart Hope this helps someone not spend the hours it took me to climb the steep learning curve ;-) ---- 6:59pm up 3:42, RedHat Linux 8.0, kernel 2.4.20-18.8 on an AMD Duron 850, using KDE 3.1 ---- Q: What is purple and commutes? A: A boolean grape. |