|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Very Basic Question with php.
New to php and just had basic install questions. I was planing on having a php page run on my windows based system using my dsl account, I have done this before using my dsl account and used no/ip for a domin name. My question at this time is this possible or what changes are involved since I now have a router? I attempted to do this again and seemed to have problems viewing the content with the ip address or domain name.
I may just use Apache web server and my sql or even a simple app/iso like XAMPP which friends have used before. Xampp is a Apache Distribution for Linux and Windows. The package includes the Apache web server, MySQL, SQLite, PHP, Perl, a FTP-Server. can anyone advise if this is stright forward or if changes occur if router being used. |
|
#2
|
||||
|
||||
|
I do not use Apache, so I don't know all the details. What I know is that all you do is unzip the file from php.net and put them in a directory. Then you will go to the 'Server-side scripting configuration' page and, if it has a box specially for php, locate php-cgi.exe and enter that in. Otherwise, put php or .php in the file extension box and put the location of php-cgi.exe in the handler box.
Lookup adding handlers and .htaccess files if you want to use php in other files. Cheers, Hamish |
|
#3
|
|||
|
|||
|
yes it does the router blocks many outgoing ports you can enable them in your router. my dad doesn't let me mess around with the router so i cannot say Wat port it is.. in your domain you can visit your site but anyone outside your router cant access your site. if you dont tell the router to disblock that specific port
__________________
EAT THIS PIECAKE!!! liked the old site more |
|
#4
|
|||
|
|||
|
If you are just serving web pages, port 80 on you router must be open to recieve incoming traffic.
You probably also have to set up some type of IP forwarding in your router to forward incoming traffic from port 80 to port 80 on the computer where you have Apache and PHP installed. Your best bet is to go to the website of the manufacturer of your router and look through their support pages and faq's. Good luck!
__________________
The whosit whatsit now? |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Very Basic Question with php. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|