-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
zzd wrote: | Remove all php and apache rpms, backup, then delete all files in the | /etc/httpd/ directory, do the same with /etc/php/ and finally backup | then remove /etc/php.ini. Your system is now ready for reinstalling | both apache and php. | | Install the apache and php rpms. Create a test page in /var/www/html | called test.php and place this line of code in it <?php print | phpinfo(); ?> Then use your browser to view it | http://localhost/test.php | | Please provide more detail if you did not get this to work
Note that the easiest way to install these rpms is using urpmi. Try running this command:
urpmi apache2-mod_php mod_php
urpmi will determine all the rpms those rpms require and offer to install them too.
If you don't have urpmi setup, this won't work, but not to worry, go to http://plf.zarb.org/~nanardon/ and follow the instructions there to set up urpmi.
BTW, I'm currently running apache2 and mod_php on Mandrake 9.1 and didn't have any of the problems you're describing. What instructions where you using? With Mandrake, everything should just work if you install it using their rpms (using urpmi above).
Cheers, Tanner - -- Tanner Lovelace | lovelace(at)wayfarer.org | http://wtl.wayfarer.org/ - --*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-- GPG Fingerprint = A66C 8660 924F 5F8C 71DA BDD0 CE09 4F8E DE76 39D4 GPG Key can be found at http://wtl.wayfarer.org/lovelace.gpg.asc - --*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-- ~ 101010 - The Ultimate answer to Life, the Universe and Everything. -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE/Vhh3zglPjt52OdQRApfbAJ4wSNTXCdJ94fKIEQJbQkKQnIgKxwCgkJ+o zKzbnhEbRlcCYnglWIYT+/k= =Ay71 -----END PGP SIGNATURE-----
-- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
