Questions tagged [php]
PHP is a free server-side, general-purpose scripting language that is especially suited for web development. Originally PHP stood for Personal Home Page, now it stands for PHP: Hypertext Preprocessor.
1,185 questions
2
votes
2
answers
103
views
Windows Apache Server access issues
I have 6 windows webservers all working in a round robin setup for our company's internal users.
All six are running the same versions of Apache (2.4.65) and php (5.5.38).
Four of my servers are ...
0
votes
0
answers
21
views
Select correct composer.json on Plesk
As a customer I manage different domains on Plesk. A few of the have composer.json based setup. Yet when I open a domain dashboard, click PHP Composer I see a different composer.json. When I select [...
1
vote
2
answers
119
views
Google crawling excessive URL on my website
My website is currently encountering a case where we have approximately ~11 milion currently crawled but not indexed URLs. Resulting in our listing page not showing up in Google search result, all ...
1
vote
0
answers
64
views
Google Search Console can't find my XML sitemaps generated via PHP godaddy
I'm trying to generate dynamic sitemaps using PHP. The script saves files like:
/public_html/sitemaps/sitemapID-1.xml
The main sitemap index (/sitemaps.xml) is working fine, but some child sitemaps ...
0
votes
0
answers
21
views
Google Search Console can't find my XML sitemaps generated via PHP [duplicate]
I'm trying to generate dynamic sitemaps using PHP. The script saves files like:
/public_html/sitemaps/sitemapID-1.xml
The main sitemap index (/sitemaps.xml) is working fine, but some child sitemaps ...
-1
votes
3
answers
51
views
Quickly re-caching a page when visitor accesses a page
I run an e-commerce website. The code is all done in PHP.
Every time I make a new release of the site, I re-cache everything (18 webpages plus a few images) which takes a couple minutes.
In order to ...
0
votes
1
answer
48
views
How to Open Error Log in Yii Framework?
I'm using Yii Framework (version 2.0) and my application unexpectedly throws errors while running.
I learned that I need to look at the error logs to see the details of these errors, but I don't know ...
0
votes
1
answer
55
views
How do I create a single php handler script that works for what appear to be multiple "directories"
I would like a single php script to serve as the handler for what appear to the end user as multiple pages. For example...
https://mydomain.net/abc
https://mydomain.net/foo
https://mydomain.net/bar
.....
0
votes
0
answers
175
views
Nextcloud does not work anymore after downgrading PHP from 8.4.4. to 8.3
I have Linux 22.04 running on my home server and I found that it was a good time to update my Nexcloud instance.
Nextcloud (NC) needed, to begin with, an update for PHP. So I installed (latest version)...
0
votes
0
answers
73
views
Googlebot Crawling & PHP-FPM Performance - A Strange Correlation
This may sound bizarre, but we've thoroughly tested this and found a strong correlation between Googlebot traffic/crawling behavior and PHP-FPM configuration.
We run a large forum with over 100,000 ...
1
vote
0
answers
46
views
Unable to upload media to Wordpress [closed]
For ~2 months now, client has been unable to upload media files via Wordpress Media Upload, nor via WP File Manager plugin.
The site is hosted with GoDaddy, and we have checked that we are able to ...
0
votes
1
answer
43
views
Opcache.php return an empty page
We are using PHP + FPM 8.2 + OPCache. In the past, we use https://www.repairrar.com/opcache.php to check its status. But today it returns an empty page. Although it shows an empty page, I view the ...
0
votes
1
answer
195
views
Hide the Authorization Header in PHP-FPM
I need to make Apache's mod_auth_basic opaque to PHP-FPM so that I can run scripts that get confused by Authorization headers. I've tried a variety of CGI and Header directives and so far am unable ...
0
votes
1
answer
44
views
software/app to resize images to set size [closed]
I have a gallery page featuring different users. Each user upload an image of themselves that is displayed on the gallery page.
My problem is that I need to fit all the images to a set size of 250PX ...
0
votes
2
answers
151
views
Load php functions only once per session
May be this a stupid question as I am not a coder, just learning php, and started to build my very first php website for study, and I am curious how this works.
So here is my question:
I have a head....