I have a PHP web site project and in the company I work they use just TomCat. I want to deploy my php project with its configuration and extensions to the tomcat server.
To connect to the Data Base (SQL-Server 2012) I've used the SQL driver (Microsoft). I have included in my local host server (XAMP) some php extensions. My other questions is how do i deploy the all project and its configurations?!
Related
I am using QNAP Network Attached Storage with a built in Web Server and MySQL Database my model is QNAP TS-253
I have an issue regarding running my PHP application inside my QNAP Web Server. It runs perfectly when using my localhost , but when i upload it to the /Web folder in my file storage directory in My QNAP Server and ran the program inside the server, I encounter some issues, like some functions inside my PHP Application doesnt work(Connecting to database , executing php functions). I do not know where the problem lies. I think it only reads the HTML codes and ignores the php sections of the file but i am not sure.
Essentially what I did is enable Web Server(Without changing any configurations) and copy all the files in my PHP project to the default Web folder in the file storage of my QNAP Web Server. I use the MySQL database provided in QNAP (which I can access without any problems when I run my PHP application using localhost), but cannot be accessed when I run my PHP application from the QNAP Web Server.
Also, Everytime I login to the QNAP utilities and settings browser interface(the page where you can edit network settings and other configurations for your QNAP) I get a message that DNS cannot resolve hosts. I am not sure if this issue affects my PHP application from running in my QNAP Web Server.
Pleasehelp, I am happy to provide further details if needed
One approach could be updating your PHP-version. QNAP is very restrictive in terms of PHP-updates. Therefore, you should check your PHP-version. Since QTS 4.2, QNAP included PHP 5.5 and MariaDB 5.5. Maybe, an update can solve your problems.
Another alternative could be installing this QPKG: http://forum.qnap.com/viewtopic.php?f=320&t=110391
This provides an Apache 2.4.12 (the built-in QNAP Apache is only at version 2.2) + PHP 5.6.10 (only for x86 CPUs). After this, you would have an up-to-date webserver with adequate PHP and database versions.
Hope this helps.
I'm building a website with PHP and using MySQL as the database, so I need help setting up the development environment. I want to execute and test the PHP scripts locally, with all the local database connections and all the operations possible on database by PHP scripts.
I'm on Windows and I've installed MySQL and Eclipse IDE for PHP, so how do I connect these two applications, so that the scripts related to database can directly execute queries on this MySQL installation? Also the Eclipse IDE isn't able to execute the scripts on localhost, it returns this error "The webpage cannot be found".
So how can this be solved and connections be made to MySQL?
Are you able to connect your website to the database? What server are you using? WAMP or XAMPP? You need to first install the server. You can install wamp from here http://www.wampserver.com/en/.
This would be your starting point.
I am having Ubuntu 14.04 server running on my Amazon Instance. I have a Web Application which is developed using Zend Framework 2 (Back-End) and also I am having a Pure PHP web page (Front-End). I need to host this 2 application under one server.
How can i solve this issue
I have have installed a software that came along with an ASP.NET
hosted in UltiDev Web Server Explorer a web application manager, its
database is .mdb, and I want to add some pages to it using PHP for an
additional features. And UltiDev can run only asp.net and I have no
time for now to study ASP. is there any other web application manager
that can run php and ISS together sharing the same .mdb database? I am
not interested in IIS right now.
yes you can run PHP server on IIS but reverse is not so easy.
Goto this link and install this web platform installer. then you can access and manage your PHP files
http://php.iis.net/
you can easily manager like Apache server
You can install PHP to run alongside an IIS installation with the Microsoft WebMatrix tool.
http://www.microsoft.com/web/webmatrix/
On a sidenote, Helicon has a selection of PHP/Ruby/etc applications that can be easily deployed to an IIS installation via WebMatrix.
http://www.helicontech.com/zoo/gallery/
Can anybody give me a hint?
My environment is:
I am developing on a Windows 7 machine running Netbeans IDE 7.2
I am using a (headless) Ubuntu 12.04 as web- and databaseserver on a home network
I have just started using PHP / Symfony2 and am struggling to complete the setup of my environment
I have installed a PHP engine on my Windows machine in order to get a PHP interpreter but don't want to maintain a webserver on this machine too.
Now I want to tell Netbeans where to look for a Doctrine2 script to exploit the Doctrine IDE support in Netbeans. But as Doctrine is not installed on my development machine, it cannot find any Doctrine2 script.
What are my options?
This is only kind of a hint, since I'm only used to working with a virtual linux installation:
Provide a shared folder on your Windows machine
Mount that shared folder on your Ubuntu machine
Use that shared folder as apache document root for example
Now you can work with the files on your local machine, and your server is able to pull those files for serverside stuff.
Might also work vice versa, sharing your webroot, or whatever directory doctrine is in, as a shared folder, so that Netbeans on your Windows machine can pull it via network.