how to run .php3 files
Moderator: General Moderators
how to run .php3 files
H have some php files with extension .php3 . How can i run them? Please give suggestion
- vargadanis
- Forum Contributor
- Posts: 158
- Joined: Sun Jun 01, 2008 3:48 am
- Contact:
Re: how to run .php3 files
Rename it to PHP.
Or... If you do not even have PHP runtime than download it from php.net. Unders linux it is just a command:
http://www.apachefriends.org/en/xampp.html
You will have to run the PHP file in the browser by typing: localhost/filename.php3
PHP3 might have been removed from apache httpd conf file. If so let me know.
Or... If you do not even have PHP runtime than download it from php.net. Unders linux it is just a command:
For windows I suggest you to download XAMPP.apt-get install libapache2-mod-php5 php5 mysql-client mysql-server mysql-common
http://www.apachefriends.org/en/xampp.html
You will have to run the PHP file in the browser by typing: localhost/filename.php3
PHP3 might have been removed from apache httpd conf file. If so let me know.
Re: how to run .php3 files
I believe there's a setting in php.ini or your Apache conf file that says which extensions should be treated as PHP.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
- vargadanis
- Forum Contributor
- Posts: 158
- Joined: Sun Jun 01, 2008 3:48 am
- Contact:
Re: how to run .php3 files
It mostly depends on Apache's config. There is a similar to this
You will need to put php3 on the end of it.AddType application/x-httpd-php .php .phtml