PHP Code will not read on Network Server - php

I have a database running on a network server (Ex. if you open My documents, at the bottom on the left navigation bar, you can access networks).
My network server is called \\server.
I have downloaded WAMP to \\server so that I can upload .php files to my server so that it can act as a web server with the address file://server/wamp/[path]/[file].php. This php connects the database to users on the web that go to this address.
I am have my database set, php files complete and uploaded, and port 80 is clear for only WAMP to be used on this server. But my .php files STILL are not read! Can anyone help figure out what is wrong? Does this have to do with the fact that this is not a real address (file://)?
Any help is appreciated. Thanks

I'm guessing your problem is with the file: scheme that you're trying to use, as WAMP is listening on port 80 (HTTP). Try using http: in your address.

if you are using wamp server then check for all services started if not restart all services and make sure that the wamp icon is green if not then the problem with wamp server.And also check in apache server the php module is mark for this click on green wamp icon and goto apache then in apache modules and at last mark php5_module.

Related

Port Conflict with XAMPP Apache

I've installed XAMPP (Apache, MySQL, FileZilla, Mercury, Tomcat) Control Panel to my Windows 7 Professional which has IIS (ASP Server Service) turned on. It fails to start the Apache server saying that PID 4 (IIS Service, probably) is blocking my access activate the server. I've looked into netstats that there are IP addresses that are under PID 4 and it turns out that when I open those they browser shows me the welcome page of IIS/ASP server.
What could be the fix to this port conflict / port overriding of XAMPP's Apache Server to the IIS / ASP Server?
It would be a great helped if answered and the answer make it work.
P.S.: I can't provide log data due to it saying that the logs for Apache are not found. It did not start from the moment ever since I've installed it.
read the below article:
http://techbrij.com/setting-up-xampp-apache-iis-windows
you can use IIS and Xampp together by changing their port. by default both of them are listening 80 port and on the same local IP.
Go to the location of apache file and find the "httpd-ssl.conf"
You will find it here
"C:\xampp\apache\conf\extra" My installing location is C drive. You may put the location drive
Then Edit "httpd-ssl.conf" by using notepad and find "Listen 443" and replace 443 to 4430 to the whole documents and save. After that restart the XAMPP and hopefully it will start.

Xampp don't responding after downloading large file

I have server and xampp installed on windows.
For example the I can access the server vie real IP http://111.111.11.11/myproject.
I have function that downloads large mp4 files to the server.
When that function run the link 111.111.11.11/myproject don't work anymore, page loads and loads.
Then I'm connecting to the server by windows "Remote desktop connect".
I'm running http://localhost/myproject and it loads ok.
Internet connection on the server is ok.
But if I want to again be able to open the link 111.111.11.11/myproject I have to restart apache.
Could anyone help me to solve this?
Thanks.

How to allow XAMPP Apache listening to multiple network ports?

I have xampp apache on my laptop. I have written an Android app and was able to run PHP script from the app using this
Now I'd like apache to control request from different PORTs ; for instance right now, my Apache's (http-conf file) listens to 192.168.1.40:8011 for my PHP scripts (located in htdocs xampp folder).
I'd like Apache to also listen to another port on behalf of another server (Geoserver) lets say for instance 192.168.1.40:8012.
That way, it will direct my PHP request to xampp htdocs PHP scripts and direct my Geoserver WMS request to 192.168.1.40:8012/geoserver/Projet_NAME/wms
Could you help me do that ?
Like this You want
https://serverfault.com/questions/28041/how-do-i-make-apache-web-server-listen-on-two-different-ports
If u find anything useful please abort it
Refer this link
Link 1 How to change XAMPP apache server port?
Link 2 http://www.complete-concrete-concise.com/web-tools/how-to-change-the-apache-port-in-xampp
Hope you can get some solutions from it
If you find it Helpul please abort it and if not just let me know

How to resolve the issue in running wampserver from USB flash drive?

I'm using Windows 7 on my system. I'm trying to run wampserver remotely on a USB flash drive. For that I did necessary path configuration settings and moved the whole installation folder of wamp from my machine to USB flash drive.
I referred the following link for migration of wamp from local machine to USB flash drive:http://forum.wampserver.com/read.php?2,62431,62812
After performing all the necessary steps, I double click wampmanager.exe in wamp folder, the red coloured wamp symbol "W" get appear in the system tray. It's not getting converted to Green "W" which means wampserver has not been started.
For detecting the issue I checked the port 80 availability, it's available. When I clicked Apache->Service->Start?Resume Service, I get a dialog box titled "Aestan Tray Menu" containing the message "Could not execute menu item (internal error) [Exception] Could not perform service action: The system cannot find the file specified". I googled it for the solution, but couldn't get it. Can anyone help me out to resolve this issue? Thanks in advance.
Maybe you'v forgot some file when you moved all the server to the flash memory. There is a version specific for flash memory (portable version) called 'Uniform Server'.
There is the link to the author webpage.
http://www.uniformserver.com
It's totally free of charge.
Greetings!
The error warning in Wamp is vague but I think you will find Wamp is simply looking in the wrong place.
Remember localhost is the root on all devices so wamp will look for the instance of localhost.
Perhaps to avoid confusion you should call "localhost" on the usb something unique.
See this post on renaming "localhost"
How to change the URL from "localhost" to something else, on a local system using wampserver?

Apache, PHP, MYSQL on Windows 7

What is the best (and easiest) way to set these up on Windows 7? I have tried Xampp and WAMP but all I get after installing them is a blank local host. So I create a php info file using the following code:
<?php
phpinfo();
?>
Put it in the httpdocs folder, call it using http://localhost/info.php and I get a 404 file not found error. Even though I followed the typical install settings.
Are you by any chance running Skype in the background? Skype claims port 80 and port 443 as a firewall workaround. You can disable this in the advanced options -> connection.
This happens to me almost all the time I set up a new PC...
The problem was not with either xampp or wamp. The problem was with the proxy that is installed where I was using the internet. It has blocked access to the localhost. Bypassing the proxy for localhost in Internet options -> Connections -> LAN Settings -> Proxy Server does not fix this for wireless so to access the webserver I have to disconnect from the network to what I need to do and then reconnect.
The web server worked fine when I was on other non proxy networks.

Categories