Anyone experience with this situation, I am really new for the Windows Environment.
On the Server Manager in Windows Server 2003 OS, on the role section I saw the WEB IIS Server with cross signed (red) what is that mean? Is that mean the installation of the IIS corrupted, cause before on last week I never saw this.
If is not a big problem, I will get to go to installing the PHP and connectin to MSSQL
Thanks,
da_root
Related
Moving an old Joomla 2.5.x install from an old win 2008 server to a win 2016 server. We will be upgrading to the latest version of joomla/php in the future, but for now I'm trying to get the current (old) version working. PHP is 5.4.10
I have the joomla site itself working. Although the contact form does not work. It throws the error 'Could not instantiate mail function' when you try to send.
Joomla is running under the same php install - i copied it from the old server. The joomla config is the same as well, except for updating hostname/paths etc where relevant. I've searched through all the files on the new server looking to see if anything was pointing to the mail server on the old machine - did not find anything. And i have confirmed the mail server on the new machine is working - sent an email to myself as well as telneted to port 25 to confirm it's accepting local connections. But I'm guessing from the error, it's failing before it even tried to connect to the mail server. And the file paths should be the same between the two servers as well.
At this point my guess would be there's some difference between IIS 7.x and IIS 10.x that's causing this, but that's just a guess. Hopefully someone else might have a more specific guess? ;)
thanks in advance for any help.
Ok, looks like the issue isn't with the mailer, it's with dns. It's not resolving anything.
$dnsrecs = dns_get_record('google.com'); returns dns query failed. However, dns on the server itself appears to be working. nslookup from the command prompt works. I even tried switching name servers to googles server - which also works from the command prompt but not from within php. Since this is an entirely different issue from the original topic, I'll mark this as answered and open a new question.
I have created a local project that connects to a SQL2012 database. On my local machine I have Windows 7 64Bit enterprise, with MS SQL drivers with no problem at all. I moved the project over to a Windows Server 2012R2 production machine. I got the web server up and PHP working fine.
I checked the phpinfo() file and sql drivers are enabled and sqlsrv is a 'registered stream'
I have try & catch blocks for all my connections to the database. No errors
I have checked the Apache error logs and there is no indication of a problem connecting to the DB.
My project uses SQL authentication, using a Username and Password - not built in Windows Authentication. I tried to change the password to a incorrect one ---> still no error?!!
I even tried to disable Domain, Public, and Private Window Firewalls. Still nothing.
I'm totally stumped, perhaps someone here may have some ideas.
Does anyone know if the SQLSRV30 pack is compatible with Windows 2012R2?
OK I have figured out what the problem was, I needed to install Microsoft® SQL Server® 2012 Native Client located at: http://www.microsoft.com/en-us/download/confirmation.aspx?id=29065#
After that installed everything is working fine.
I have apache web server 2.4 set up on an Windows 7 - 64 bit in school with php 5.3 and mysql installed. This web server has a static ip address and I have allowed the Apache httpd.exe program on Windows 7 firewall.
When I tried to access the page in school (on the same LAN), I was able to access the page. But, when I tried to access it from home (with an external ip address) I wasn't able to access the web page hosted on the web server. When I tried to ping the static ip address of the web server in school it works but when I ping from outside school network, I get lost packets.
Further, I have Adobe Flash Media Server 4.5 installed on the same machine listening on ports 1935 and 1234.
I have also tried to uninstall and re-install apache but to no avail.
Any idea on how what is the problem here? Or any ways to test out the problem?
Is the problem because of Windows 7 tight firewall security? or 64-bit machine? or the adobe flash media server running on the same machine? or any misconfigurations out there in Apache?
Note: the static ip address is accessible and the server can serve a page when the server is running on windows xp previously. Recently, I just changed to windows 7 but the apache server can't seem to serve the same page.
Would really appreciate some help here!!! Thanks
Your server machine may have a firewall which allows connections, but the machine may stand behind the router which does not forward ports correctly. Have you checked this?
The LAN is being protected by the router to the external network. You need to get the administrator to configure this router.
I just installed MySQL on Windows Server 2008 R2.
I followed the instructions on: [Install and Configure MySQL for PHP Applications on IIS7][1]
And when i was gonna check phpinfo.php, i get error 500. Here is a ScreenShot that i took when using RDP to our Windows 2008 R2 server. http://i.stack.imgur.com/hW7qG.png
I have no idea what causes this error. And i have absolutley no idea how to fix this.
Here is the error log that IIS made for today: http://s000.tinyupload.com/?file_id=11719906829973224437
i've searched around using google, and there was no solution for my problem.
I have PHP Manager, and it does not show any message that would indicate there is a problem with the PHP configuration.
Any idea how i can fix this, so that i can continue on developing the website for my company?
After ten years of ASP.net development (i.e. I know very little about PHP), I have just installed my first PHP web site running on a Windows Server 2008 R2 IIS 7.5 web server.
The web server is one of three servers running in a small network.
I have set up DNS to reference the web server.
If I open a browser on any of the local network machines and enter the url, the web site opens and runs perfectly.
If I do the same thing with a PC that is not part of the network I am unable to open the web site.
I'm not sure if this is a PHP or IIS problem (or maybe both).
Can anyone point me in the right direction?
Thanks.
I'd be very surprised if it is a PHP problem. I have found some very odd behaviour in IIS with it apparently tunelling NTLM authentication to access resources on network drives, but you need to start by looking at the simple things first.
Can you access static content on the webserver? If not then you need to have a look at how your DNS, network routing and firewalls are configured.
If you can access static content but not PHP content, then the webserver should be lofgging the reason why it's turning down requests for PHP files - go read your logs.