![]() |
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
Regarding PHP |
Page: 1 | Reply |
Mar 26th 2003 | #97125 Report |
![]() Posts: 159 |
hi friends, Is PHP is the completly platform independent? abhi |
Reply with Quote Reply |
Mar 26th 2003 | #97126 Report |
![]() Posts: 6632 |
Yes, there are versions of PHP for Windows, Linux, and MacOSX.
|
Reply with Quote Reply |
Mar 26th 2003 | #97135 Report |
![]() Posts: 3000 |
While we're at it, I'll ask my PHP question. If it's possible, how can I go about installing PHP on my desktop (Windows XP) where I can preview PHP files without uploading them to my webhost all the time. |
Reply with Quote Reply |
Mar 26th 2003 | #97139 Report |
![]() Posts: 2586 |
Install a Server on your computer. Or windowsXP has IIS - you might need to go to "add/remove programs" and select "Windows Components" and add IIS. The other option is Apache win binary. Then configure in PHP. I havent added PHP to IIS before but I am sure it should be as easy as Apache. |
Reply with Quote Reply |
Mar 29th 2003 | #97439 Report |
![]() Posts: 3000 |
I downloaded and installed the Apache win Binary 2.0.44. Can you expand on configuring in PHP?
|
Reply with Quote Reply |
Mar 29th 2003 | #97443 Report |
![]() Posts: 6632 |
Moochan, just download PHPTriad or something similar. One .EXE installs apache, PHP, MySQL and PHPMyAdmin on your home machine. Very easy. A Double-Click and you have a web server up and running. http://sourceforge.net/projects/phptriad |
Reply with Quote Reply |
Mar 29th 2003 | #97447 Report |
![]() Posts: 2586 |
1. Download PHP4.3.1 or whatever the current version is. I would just go ahead and get the Installer version. --- Dbl Click. You will get some error saying it couldnt be installed on Apache (because you need to edit he .conf file). No problem. Just click ok. There are 2 methods to install PHP. Installing a Module or as CGI. I couldnt get it to install as a module on Apache 2, so I just used the CGI method (cause I am lazy). Go to Start --> programs --> Apache --> Configure Apache --> Edit the .conf file. Open it in notepad or something like that. Scroll to the bottom and add these lines: ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" Change "c:/php/" to wherever you installed PHP. Here is the PHP.net instructions: http://www.php.net/manual/en/print/install.apache2.php You need to follow the instructions on the install read me for PHP. You just edit the php.ini file and copy it to your windows root directory. Then when you are done, go to your htdocs folder, which by default is in your Apache directory (you can edit the .conf file to point to another location and create a folder there. Makes life better IMO.) Create a file like this: < ? PHP phpInfo(); ? > and call it whatever, info.php eg. Then go to http://localhost/info.php and if all is good you should see a php info page =) You might have to make sure Apache is running (Check AdminTools --> Services) . One thing you can do for extra security is go to your services and set the apache service to run "Manual", then just turn it on/off when you want, rather than having it run whenever you boot up. |
Reply with Quote Reply |
Mar 29th 2003 | #97449 Report |
![]() Posts: 6632 |
Or you could just install PHPTriad... :rolleyes:
|
Reply with Quote Reply |
Mar 29th 2003 | #97459 Report |
![]() Posts: 3034 |
yeah phptriad rox0rs j00
|
Reply with Quote Reply |
Page: 1 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |