Questions tagged [php]
PHP is a general-purpose scripting language that is especially suited for Web development. The online manual is an excellent resource for the language syntax and has an extensive list of the built-in and extension functions. Most extensions can be found in PECL.
7,924
questions
-3
votes
2
answers
1k
views
index.html opens up fine but index.php saying 404 not find page [duplicate]
Possible Duplicate:
How to configure php5 on apache2.2?
I have bought new apache server 142.4.4.15
It opens up index.html but cannot open index.php
I have php, apache and mysql installed on to it....
-3
votes
4
answers
2k
views
Sending huge amount of emails using SMTP [closed]
I have an issue. I have situation where I need to send around 3000 emails per request using SMTP. However, only 30-40 reaches destination.
Do you have any idea what can be a problem and how to solve ...
-3
votes
1
answer
117
views
Best server for mailing application [closed]
My application is similar to a reminder service that reminds users of events that they scheduled. I'm sending emails to users through a PHP script. I'm not sending one email to multiple recipients. ...
-3
votes
1
answer
108
views
My website is superslow but the %CPU is only 25%
I have 2 servers for my website :
One server 256GO RAM 20c/40t for MySQL
One server 256GO RAM 20c/40t for Apache
The MySQL server is always ok (30-50% of CPU is used).
But the Apache ...
-3
votes
1
answer
460
views
How to install from source PHP5.5, Apache2.4, Mysql5.5 [closed]
i have a centos 6.5 running locally as my webserver via virtual box, i only used this to test my website and wanted to simulate the real server, as much as possible i wanted to have the latest php, ...
-3
votes
1
answer
80
views
Building a future-proof webapp [closed]
My app uses php, node.js, mysql and all the front-end trends. I am hosted on the Linode 4GB plan, 8 CPU (4x priority) and 8TB Transfer for the entire static website, api's etc, a cdn for static files ...
-3
votes
1
answer
163
views
weird php .so error [closed]
Do I need to recompile or rebuild or something? I never had this issue before.
/usr/bin/php: /opt/xml2/lib/libxml2.so.2: no version information available (required by /usr/bin/php)
/usr/bin/php: /opt/...
-3
votes
1
answer
148
views
Protecting a chmodded 0777 cache directory?
A website I'm developing requires several directories to have their permissions set to 0777. The directories are used as cache directories for HTML and PHP files generated by the website.
The ...
-3
votes
1
answer
352
views
Apache not working
i have centos 5...php 5.3.8 and apache 2.2.21...I had this problem now i have another problem... first of all i see apache test page even though my script is still there ( but that problem i can fix), ...
-3
votes
1
answer
84
views
Display static pages with a RAND seed, expiry? [closed]
In Apache, is there any way (using scripts like CGI and PHP, etc.) that will fetch all static content (html, images, and files within a specified size range) and send it to the user as a randomized ...
-3
votes
1
answer
1k
views
How to install multiple PHP versions in Virtualmin 6, Debian 9 [closed]
By default Debian 9 comes with PHP 7, but I was interested in PHP 5 for older websites as well.
I tried following/adapting this guide (not virtualmin specific)
https://pehapkari.cz/blog/2017/03/27/...
-3
votes
1
answer
2k
views
My server virtual memory full
occasionally my server hits 100% usage on virtual memory and I don't know if that is something alarming or not? ( this happends gradualy to fill to that percent over 1-2 weeks from clean swap)
I ...
-3
votes
3
answers
5k
views
PHP mkdir() permission denied
I keep getting permission denied when using mkdir() in my PHP script.
mkdir: cannot create directory : Permission denied:
$mount = shell_exec( "mkdir -p {$mntdir}/{$hostname} 2>&1");
I try ...
-3
votes
1
answer
631
views
Try to Test Hack Attempt with Telnet [closed]
My server recently was attacked by hackers trying to run code on a web site, and I would like to test what they there trying to do. I'm not sure how to build the telnet command to do this.
2016-06-09 ...
-3
votes
2
answers
134
views
Server not recognizing that wget is installed on OS X Yosemite [closed]
I'm trying to install some software (called Prohits, used for mass spectrometry data management) on a localhost server I set up. One of the requirements for the install is that I have wget installed. ...
-3
votes
1
answer
1k
views
How to upgrade PHP version in multiple AWS EC2-Instance?
Can we upgrade versions in multiple EC2-Instance at the same time? For example let’s say
I’ve ELB connecting with two EC2-Instance.
Instance A (running PHP 5.3)
Instance B (running PHP 5.3)
Here if ...
-3
votes
1
answer
153
views
unable to update php version to 5.5 on centos
i want to update php version centos via ssh , i ran "yum update" command on server but it did not update php version, how can i do it . Please guide.
My centos version is 6.6
-3
votes
1
answer
966
views
I can't configure php on serwer nginx for BigBlueButton [closed]
Hi I have problem with configuration a nginx for php, because I have installed BigBlueButton and I would install php in /var/www/bigbluebutton-default. When I add this to bigbluebutton in /etc/nginx/...
-3
votes
1
answer
143
views
Replace of cron job/cron tabs-- Windows Scheduler [closed]
I want to know that there is any way to create an script on windows machine in PHP that should run after an interval, let's say every after 15 minutes.
Currently I'm doing it using javaScript, but ...
-3
votes
1
answer
1k
views
Horde Groupware in Synology [closed]
Need information to install Horde on Synology.
I heard there is a Horde package for Synology, Can someone help me find the link.
I am new and tried in many ways to find it myself before asking.
Thank ...
-3
votes
1
answer
1k
views
nginx with php-fpm got 502 bad gateway on ubuntu server 12.04 [closed]
I just don't know why i got a 502 error. Please help. you can visit here http://upliu.net/phpinfo.php
phpinfo.php just has one line code: phpinfo(); but i got a 502 bad gateway error
someone can help ?...
-3
votes
1
answer
135
views
Upgrade php 5.3 to php 5.4 linux [closed]
I have an Ubuntu server with many site inside.
This server is used:
- to test sites
- to create sites
- to store some sites of particular client
The version of php is 5.3 and I want to upgrade to php ...
-3
votes
2
answers
28k
views
Upload File /Apache :: Failed to open stream: Permission denied on CentOS
uploading file to server is always giving me this error though I tried all solution on the web for this problem but I'm still getting this error no matter what :
Warning: move_uploaded_file(/home/...
-3
votes
2
answers
3k
views
Can't install PHP PDO [closed]
I have now tried to install PHP PDO in 2 hours without any luck, and i have searched everywhere to get a solution - but without any luck.
yum install php-pdo
doesn't work and i cannot find ...
-3
votes
1
answer
266
views
GoDaddy VPS running Magento went down twice past couple of weeks
Would this PHP error possibly cause the server to go down?
[Tue Mar 05 02:48:28 2013] [error] [client 50.57.68.9] PHP Fatal
error: Uncaught exception 'Exception' with message 'File
'httpdocs/...
-3
votes
1
answer
8k
views
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." [closed]
First of all sorry because i am new in these fields
i am going to configure Apahe2 with PHP i have downloaded both of zip setup file and configured both ini file . now when i enter http://localhost/ ...
-3
votes
1
answer
244
views
Got hacked, cannot understand how [duplicate]
Possible Duplicate:
My server's been hacked EMERGENCY
In log i found that site was scanned by hacker for few hours but actual hack was few minutes i think.
He somehow found out about all ...
-3
votes
1
answer
120
views
Optimizing requests that requires several request
I have a request that requires my server to establish like 3 external requests before it returns to the user. This makes this request takes like 0.8s to execute per user. What tips should one follow ...
-3
votes
2
answers
111
views
Creating/Configuring a DNS server with runtime configuration [closed]
I have a big Windows video/audio application that may be controlled remotely over a web server. For that, I can listen to a local port in a, say, 192.168.1.10 system to port 8000, forward the port via ...
-3
votes
2
answers
44
views
One site non https
Hello I want to make sure that one file of my site is non https. I have this in my VirtualHost80 file
Redirect permanent /README.php http://<ip>/README.php
And I have this in my ...
-3
votes
1
answer
1k
views
Run Python and Php under same server
I am trying to run python on main domain and a wordpress blog in sub-directory. Is it possible to do so?
Currently the they are running good in sub-domains
i.e http://main-domain.com and blog.main-...
-3
votes
1
answer
89
views
Does Nginx support ssh connections? [closed]
I want to build a site with nginx as HTTP server and MariaDB as SQL server.
I'm searching in Google if nginx support (or its included) the ssh support to execute ssh_connect thru PHP files, but I can'...
-3
votes
2
answers
16k
views
Apache2 : Xampp is not running
I have apache2 and Xampp both installed in my server now my problem is
When i stop apache2 from /etc/init.d/apache2 stop
and tried restart xampp like /opt/lampp/lampp restart i am getting the ...
-3
votes
1
answer
343
views
Magento Using https:// for all links in source
So today I was trying to install a fresh instance of Magento v1.7.0 on my vps which is running nginx. Once I uploaded the clean install to public_html I unzipped it and entered my ip to run the ...
-3
votes
2
answers
5k
views
how do you install php-devel
I keep getting dependency issues when I try to run yum install php-devel
yum install --skip-broken php-devel
....
--> Finished Dependency Resolution
php-5.1.6-32.el5.i386 from base has depsolving ...
-3
votes
1
answer
2k
views
PHP extensions not loading on IIS
Calling a function that loads an extension (curl, mysqli, etc.) throws a PHP fatal error. I've looked all over the internets but all the things found did not resolve. Here is a list of findings and ...
-3
votes
1
answer
2k
views
How to install Horde Webmail on Ubuntu 14.04? [closed]
Am using Ubuntu 14.04. Am stuck with the following issue:
My goal is to install and have running HORDER GROUPWARE 5.2 on my Domain/Hosting:
Download on Github: https:// github .com/horde/horde/...
-3
votes
2
answers
106
views
Building a Social Networking website, should I have separate servers for certain parts of the site? [closed]
I have been working on building a social networking website, I'm pretty committed to this and I think I have something that could work out. I hope to be launching it January 1st, and so I have a ...
-3
votes
2
answers
3k
views
PHP files displayed as plain text in browser [duplicate]
I have an ubuntu server installed with apache2 service. but when I run the index.php file its displays as it is. it means .php files are not executing
-4
votes
5
answers
824
views
how to protect php app (vbulletin) from hackers
Our vBulletin system is under constant attack, raising cpu load and making the system very slow for legit users. The attack is a script type attack that is attempting to log in and/or create new login ...
-4
votes
4
answers
625
views
Is this from a bot attack? [closed]
I checked the error_log today and found this suspicious:
[Mon Nov 27 01:18:36 2011] [error] [client omitted]
File does not exist: /var/www/domain.com/htdocs/robots.txt
[Mon Nov 27 01:18:...
-4
votes
3
answers
1k
views
cronjob or similar to open a local php file including query [closed]
How do I open the following file with cronjob correctly every 5 minutes:
/var/www/mysite/folder/foo.php?query=1
I tried myself but I just did not get it working. I tried with /usr/share/php5, wget, ...
-4
votes
3
answers
1k
views
.htaccess and PHP redirect hack on GoDaddy Website [duplicate]
Possible Duplicate:
My server's been hacked EMERGENCY
A friend is experiencing a random redirect to an RU domain for two of her websites, along with a malicious cookie attack, as per a Norton ...
-4
votes
1
answer
688
views
How to detect which PHP script is sending SPAM [duplicate]
A php script is sending tons of emails. I want to detect what is the source. All emails are sent by the use www-data which the user used by apache. When I check process, I have this result :
www-data ...
-4
votes
2
answers
277
views
Shall we run the php script on .net server? [closed]
I just want to know that ,shall we run the php script on .net server or to run a php script on a .net server what configuration we required?
Suppose i have a website developed in php environment and ...
-4
votes
1
answer
255
views
I Could not print an output in PHP using (HP Deskjet F380) in ubuntu [closed]
I could not give print to HP Deskjet F380 printer in PHP coding.
I tried this
require_once(PrintIPP.php);
$ipp = new PrintIPP();
$ipp->setHost("localhost");
$ipp->setPrinterURI("/printers/...
-4
votes
2
answers
115
views
Linux Web Server Configuration [duplicate]
I am in a need to have my own web server as I use to have few websites to be tested on monthly basis.
I plan to get some cheap P4 laptop which will do that task and am planning to install Ubuntu on ...
-4
votes
1
answer
37
views
directory protection in Ubuntu 14.04 Server [closed]
I want to run the following on a single ubuntu 14.04 server
- Asterisk
- PHP/Apache/ MySQL
This server will be offline at customer's location.
I want to protect these folders in a way that if my ...
-4
votes
1
answer
245
views
Set up Windows Server 2012 R2 before migrating wordpress website [closed]
My company decides to move their website to a new Windows Dedicated Server. I am a totally newbie right here, and have no idea what to do.
Can you please let me know what are the steps to do that? ...
-4
votes
1
answer
69
views
updating php red hat [closed]
I am trying to install PHP MVC framework Symfony.
When I go to the check requirements page it says that I have to update my php to version 5.3.17+.
I have an VPS with RedHat. I am totally new in ...